// import Cookies from 'js-cookie'

const TokenKey = 'user_token';
const Roles = 'user_roles';

export function getToken() {
	return localStorage.getItem(TokenKey);
  // return Cookies.get(TokenKey)
}


export function setToken(token) {
	return localStorage.setItem(TokenKey,token)
  // return Cookies.set(TokenKey, token)
}

export function removeToken() {
	return localStorage.removeItem(TokenKey)
  // return Cookies.remove(TokenKey)
}
